<h1>New category</h1>

<%= error_messages_for :category %>

<% form_for(@category) do |f| %>
   <%= render :partial => "form", :locals => {:f => f} %>
   
  <p>
    <%= f.submit "Create" %>
  </p>
<% end %>

<%= link_to 'Back', categories_path %>
